#ifndef MSGMANAGER_H
#define MSGMANAGER_H

// Undefined parameter
//#include <cstdarg>
#include <string> //strlen
#include <vector>
#include <iostream>

#include "allegro.h"
#include "alleggl.h"


using namespace std;


class msgManager {


    private:

        // Strukturen
        struct struktMessage {
            string Text;
            long Time;
        };
        struct structBmpPos {
            int x, y;
            int w, h;
        };

        int MessagePos,
            mgsMAX,
            cntMessage,
            msgX;

        struktMessage Message[25];
        structBmpPos winPosition[24];

        // Pointer
        BITMAP *sfWindow;


    public:

        msgManager();

        void Init(void);
        void Add(string pText);
        void Draw(void);
        void Tick(void);
        void Destroy(void);

        int debug;

};



#endif // SRMSG_H
